package com.dailyblue.java.spring.boot.redis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dailyblue.java.spring.boot.redis.bean.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface EmpMapper extends BaseMapper<Emp> {
    @Update("update emp set empState=0 where empNo=#{id}")
    void deleteById(int id);
}
